package com.linln.modules.system.service;

import com.linln.modules.system.domain.PatientBaseInfoEntity;
import com.linln.modules.system.domain.RequirementDetailsEntity;
import com.linln.modules.system.domain.RequirementImageEntity;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;

import java.util.List;

public interface RequirementService {

    RequirementDetailsEntity getRequireByID(Integer Id);

    Page<RequirementDetailsEntity> getRequireAllList(Example<RequirementDetailsEntity> example);

    List<RequirementDetailsEntity> getRequireAllByRStat(String RequirementStat);

    List<RequirementImageEntity> getRequirementImageByRequireid(Integer Id);

    RequirementDetailsEntity saveRequirementInfo(RequirementDetailsEntity requirementDetailsEntity);

    RequirementImageEntity saveRequirementImage(RequirementImageEntity requirementImageEntity);

    void deleteRequirementImage(RequirementImageEntity requirementImageEntity);
    long getRequirementCountByStat(String stat);

}
